package com.zhiche.lisa.lspm.dao.model.lsp;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 承运商认证日志
 * </p>
 *
 * @author qichao
 * @since 2018-08-06
 */
@TableName("lisa_lsp_audit_log")
public class LspAuditLog extends Model<LspAuditLog> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 承运商ID
     */
	@TableField("lsp_id")
	private Long lspId;
    /**
     * 创建人
     */
	private String creator;
    /**
     * 审核日期
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 审核结果（0，不通过；1，通过）
     */
	@TableField("audit_result")
	private Integer auditResult;
    /**
     * 租户ID
     */
	@TableField("tenant_id")
	private Long tenantId;
    /**
     * 操作类型
     */
	private String operation;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getLspId() {
		return lspId;
	}

	public void setLspId(Long lspId) {
		this.lspId = lspId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Integer getAuditResult() {
		return auditResult;
	}

	public void setAuditResult(Integer auditResult) {
		this.auditResult = auditResult;
	}

	public Long getTenantId() {
		return tenantId;
	}

	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "LspAuditLog{" +
			", id=" + id +
			", lspId=" + lspId +
			", creator=" + creator +
			", gmtCreate=" + gmtCreate +
			", auditResult=" + auditResult +
			", tenantId=" + tenantId +
			", operation=" + operation +
			"}";
	}
}
